<template>
  <!-- 顶部 -->
  <div class="top">
    <van-nav-bar
      title="智慧交管"
      left-text="返回"
      right-text="首页"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
  </div>
</template>

<script>
// import { Toast } from "vant";
export default {
  methods: {
    //头部方法
    onClickLeft() {
      this.$router.go(-1)
    },
    onClickRight() {
       this.$router.push("/")
    },
  },
};
</script>

<style>
</style>